package mysql

import "gorm.io/gorm"

type GoodsTypes struct {
	gorm.Model
	Gid   int    `gorm:"int;comment:商品id"`
	Types string `gorm:"type:varchar(20);comment:商品类型"`
	Img   string `gorm:"type:varchar(100);comment:商品图片"`
}

func (GoodsTypes) TableName() string {
	return "goods_types"
}
